/**
 @file sys_usw_sc_oam.h

 @date 2019-4-12

 @version v6.0

  The file defines Macro, stored data structure for SPN Channel OAM module
*/
#ifndef _SYS_USW_SC_OAM_H
#define _SYS_USW_SC_OAM_H
#ifdef __cplusplus
extern "C" {
#endif

#include "sal.h"
#include "ctc_sc_oam.h"
/****************************************************************************
 *
 * Header Files
 *
****************************************************************************/

/****************************************************************************
*
* Defines and Macros
*
****************************************************************************/

/****************************************************************************
*
* Global and Declaration
*
*****************************************************************************/

/****************************************************************************
 *
* Function
*
****************************************************************************/

extern int32
sys_usw_sc_oam_add_mep(uint8 lchip, ctc_sc_oam_mep_t* p_mep);
extern int32
sys_usw_sc_oam_remove_mep(uint8 lchip, ctc_sc_oam_mep_t* p_mep);
extern int32
sys_usw_sc_oam_update_mep(uint8 lchip, ctc_sc_oam_mep_t* p_mep);
extern int32
sys_usw_sc_oam_set_mep(uint8 lchip, ctc_sc_oam_mep_t* p_mep);
extern int32
sys_usw_sc_oam_get_mep(uint8 lchip, ctc_sc_oam_mep_t* p_mep);
extern int32
sys_usw_sc_oam_set_mep_property(uint8 lchip, ctc_sc_oam_mep_prop_t* p_mep_prop);
extern int32
sys_usw_sc_oam_get_mep_property(uint8 lchip, ctc_sc_oam_mep_prop_t* p_mep_prop);
extern int32
sys_usw_sc_oam_get_mep_info(uint8 lchip, ctc_sc_oam_mep_info_t* p_mep_info);
extern int32
sys_usw_sc_oam_set_property(uint8 lchip, ctc_sc_oam_prop_t* p_prop);
extern int32
sys_usw_sc_oam_get_property(uint8 lchip, ctc_sc_oam_prop_t* p_prop);
extern int32
sys_usw_sc_oam_init(uint8 lchip, void* p_cfg);
extern int32
sys_usw_sc_oam_deinit(uint8 lchip);

#ifdef __cplusplus
}
#endif


#endif

